body ,ul,h3 {
    margin: 0;
    list-style: none;
    padding: 0;
}
div {
    margin: 0;
    padding: 0;
}
a {
    font-size: 12px;
    color: #cc9756;
    display: inline-block;
    position: relative;
}
input {
    border-style: none;
    position: relative;
    top: -1em;
    font-size: 14px;
    width: 500px;
}

/* 置顶top盒子的设置 */
.top {
    width: 100%;
    height: 36px;
    background-color: #333333;
    box-sizing: border-box;
    position: relative;
    top: 0em;
    z-index: 20px;
}
.top_son {
    width: 1090px;
    height: 36px;
    margin: 0 auto;
    position: relative;
    z-index: 20px;
}
/* 对top栏右端a标签的设置 */
.top > .top_son > .font1 {
    color: thistle;
    text-decoration: none;
    padding: 0 8px;
    border-right:solid;
    border-width: 1px;
    border-color: #515151;
    position: relative;
}
.top > .top_son > img {
    position: relative;
    left: 0em;
    top: 5px;
    margin-top: 5px;
}
.top > .top_son > a:hover{
    color: #ffffff;
}
.top > .top_son > ul > li:hover{
    color: #ffffff;
}

/* 开始设置top右侧二级菜单项 */
.top > .top_son > ul {
    height: 16px;
    color: thistle;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    padding: 0;
    z-index: 10px;
}

.top > .top_son > ul > li {
    float: left;
    position: relative;
    width: 78px;
    height: 16px;
    text-align: center;
    /* line-height: 2em; */
    cursor: pointer;
    font-size: 12px;
    border-right: solid;
    border-width: 1px;
    border-color: #515151;
}
.top > .top_son > ul::after {
    display: block;
    content: "";
    clear: both;
}
.top > .top_son > ul > li > .twomenu_1 {
    position: absolute;
    color: #515151;
    display: none;
    background-color: #f4f4f4;
}
.top > .top_son > ul > li:hover > .twomenu_1 {
    display: block;
    /* position: relative; */
    z-index: 10;
}
/* .top > .top_son > ul > li:hover::after > ul.twomenu > li {
    position: absolute;
} */
.top > .top_son > ul > li > .twomenu_1 > li {
    border-bottom: solid;
    border-color: thistle;
    border-width: 1px;
    display: block;
}
.top > .top_son > ul > .erweima:hover {
    display: block;
}
/* 开始设置top之下的nav大盒子 */
.header {
    width: 1090px;
    height: 140px;
    /* border: solid;
    border-width: 1px; */
    margin: 0 auto;
    position: relative;
}
/* 对logo开始设置 */
.box1 {
    background-image: url(./logo.png);
    background-repeat: no-repeat;
    background-clip: padding-box;
    background-size: 325px;
    height: 100px;
    width: 300px;
    /* padding: 1px; */
    display: inline-block;
    position: relative;
}
.box2 {
    width: 402.4px;
    height: 32.4px;
    border: solid;
    border-color: #d8b07f;
    padding-top: 2px;
    padding-bottom: 2px;
    border-width: .8px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    padding-left: 38px;
    position: relative;
}
.box2_2 {
    width: 3.875em;
    height: 1.65em;
    padding-left: 1.75em;
    padding-top: .5em;
    padding-bottom: .125em;
    background-color: #cc9756;
    position: relative;
    left: 25.21em;
    border: solid;
    border-width: .05em;
    border-color: #cc9756;
    top: -2.62em;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    position: relative;
    z-index: 5;
}
.box2_3 {
    position: relative;
    font-size: 12px;
    color: #cc9756;
    top: -3em;
    left: -2.5em;
}
.box2_3 > ul > li {
    width: 7.2em;
    border-right: solid;
    border-width: .8px;
    border-color: #cc9756;
    box-sizing: content-box;
}
.box3 {
    width: 134px;
    height: 38px;
    border: solid;
    border-width: .8px;
    border-radius: 20px;
    border-color: #cc9756;
    position: relative;
    left: 59.8em;
    top: -7.2em;
}
.box3_1 {
    position: relative;
    left: 1.2em;
    top: .3em;
    font-size: 14px;
}
.box3_2 {
    position: relative;
    border: solid;
    border-color: #d22b2f;
    border-width: 1px;
    border-radius: 1em;
    width: 17px;
    height: 17px;
    color: #f4f4f4;
    background-color:#d22b2f;
    text-align: center;
    left: 6em;
    top: -1em;
}
.box3:hover {
    background-color:peachpuff;
}
/* 导航栏 */
.nav {
    width: 1519px;
    height:3.125em;
    margin: 0 auto;
    border-width: .5px;
    margin-top: -45px;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    padding-top: 20px;
    background-color: #ffffff;
    /* padding-left: 13.406em; */
    padding: 20px 214.5px 0 214.5px;
    z-index: 100;
}
.nav > ul.first {
    display: block;
    content: "";
    clear: both;
    height: 16px;
}
/* .nav > .first {
    top: 5em;
    width: 100%;
} */
/* 一级菜单 */
.nav > .first > li {
    float: left;
    font-size: 14px;
    font-weight:700;
    margin-left: 26px;
    margin-right: 26px;
    padding-bottom: 14px;
    line-height: 14px;
}
.nav > .first > li:hover {
    color: #cc9756;
    border-bottom: solid;
    border-bottom-color: #cc9756;
    border-width: 2.5px;
}
/* 二级菜单 */
.nav > .first > li > .second {
    display: none;
    position: absolute;
    z-index: 10px;
    border: solid;
    border-width: .8px;
    border-color: thistle;
    background-color: #ffffff;
    top: 3.62em;
    left: 15em;
    padding-top: 0.625em;

}
.nav > .first > li > .second > li {
    display: inline-block;
}
.first > li:hover > .second {
    display: block;
    z-index: 10px;

    animation-name: move;
    animation-timing-function:linear;
    animation-duration:0.3s;
    animation-fill-mode: backwards;
    animation-iteration-count: 1;
    animation-direction: alternate;
}
.second > li > span {
    display: inline-block;
}
.nav > .first > li > .second > li {
    color: #333333;
}
/* 图片轮播 */
.img {
    width: 1920px;
    height: 420px;
    margin: 0 auto;
    top: -4em;
    z-index: 5px;
    /* display: none; */
}

/* 第一个商品视图view1 */
.view1 {
    width: 1090px;
    height: 48px;
    margin: 0 auto;
    font-size: 24px;
    margin-top: 1em;
    position: relative;
}
/* 由于之前a标签的定义，现在得改一下 */
.view1_son1 > a {
    font-size: 14px;
    text-decoration: none;
    color: #333333;
    line-height: 14px;
    position: relative;
}


#obj {
    /* display: none; */
}

@keyframes move {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* 开始做view */
.view1 > .view1_son1 > a {
    position: relative;
    right: -54.5em;
}
.view1 > .view1_son2 {
    margin: 0 auto;
    padding: 0;
    width: 1090px;
    height: 364.3px;
    /* border: solid; */
    margin-top: 15px;
}
.view1 > .view1_son2 > ul {
    padding: 0;
    background-color: #ffffff;
    position: relative;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.view1 > .view1_son2 > ul > li {
    height: 364.3px;
    /* background-color: #f4f4f4; */
    width: 24.4%;
    
}
/* 伸缩盒布局做view */
.view1 > .view1_son2 > ul > li:hover {
    background-color: #f4f4f4;
}
.view1  .photo {
    position: relative;
}
.view1  .zdj {
    position: absolute;
    bottom: .5em;
    background-color: #ed6d2b;
    height: 3em;
    width: 4em;
    border-top-right-radius: 5px;
    color: #ffffff;
    z-index: 1;
    padding: 0 .5em;
    font-size: 14px;
}
.view1  .youhui {
    font-size: 12px;
    position: absolute;
    bottom: .508em;
    width: 14.1em;
    line-height: 2.5em;
    background-color: #ff7c49;
    color: #ffffff;
    padding-left: 8em;
}
.view1  .introduce {
    text-align: center;
}
.view1  .xsg {
    font-size: 12px;
    display: inline-block;
    background-color: #ff7c49;
    color: #ffffff;
    padding: .1em .3em;
    margin: .2em;
}
.view1  .name {
    font-size: 14px;
    font-weight: 600;
    padding: 5px;
}
.view1  .price {
    color: #ff7c49;
    line-height: 1.6em;
    font-size: 14px;
}
.view1 > .view1_son2 > ul >li.view_1 {
    background-image: url(https://yanxuan-item.nosdn.127.net/1ac843077947be05921213f307cf242d.png?type=webp&quality=95&thumbnail=265x265&imageView);
    background-repeat: no-repeat;
}

.view1 > .view1_son2 > ul >li.view_1:hover  img {
    display: none;
}
